package com.lu.model.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description: 用修改密码请求
 * @Author: zhanglu
 * @Date: 2022/7/27 13:02
 */
@Data
public class UserUpdatePwdRequest {

  @NotNull(message = "请输入用户")
  private Long userId;
  @NotEmpty(message = "请输入老的密码")
  private String oldPassword;
  @NotEmpty(message = "请输入新的密码")
  private String newPassword;

}
